package com.data.aspect;

import com.data.config.DynamicDataSourceContextHolder;

import java.lang.annotation.*;

/**
 * @author ytj
 * @date 2024/4/19
 */
@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface DataSource {

    String value() default DynamicDataSourceContextHolder.DEFAULT_DATASOURCE;
}
